{ pkgs, ... }:
{
    programs.neovim = {
        enable = true;
        defaultEditor = true;
        viAlias = true;
        vimAlias = true;
        vimdiffAlias = true;
        withNodeJs = true;
        plugins = with pkgs.vimPlugins; [
            lazy-nvim
        ];
    };
    xdg.configFile.nvim.source = fetchGit {
        url = "https://git.sr.ht/~hknd/neovim-config";
        ref = "master"; rev = "35fe829fc3107d56a52f99508508557723468a27";
    };
}
